package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.PAllocationRecord;
import com.zhongwang.mms.gen.entity.PAllocationRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PAllocationRecordMapper {
    long countByExample(PAllocationRecordExample example);

    int deleteByExample(PAllocationRecordExample example);

    int deleteByPrimaryKey(Integer ardId);

    int insert(PAllocationRecord record);

    int insertSelective(PAllocationRecord record);

    List<PAllocationRecord> selectByExample(PAllocationRecordExample example);

    PAllocationRecord selectByPrimaryKey(Integer ardId);

    int updateByExampleSelective(@Param("record") PAllocationRecord record, @Param("example") PAllocationRecordExample example);

    int updateByExample(@Param("record") PAllocationRecord record, @Param("example") PAllocationRecordExample example);

    int updateByPrimaryKeySelective(PAllocationRecord record);

    int updateByPrimaryKey(PAllocationRecord record);
}